{"ast":null,"code":"import _defineProperty from \"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nvar getHorizontalStyle = function getHorizontalStyle(token) {\n  var _$concat;\n  var componentCls = token.componentCls,\n    motionDurationSlow = token.motionDurationSlow,\n    menuHorizontalHeight = token.menuHorizontalHeight,\n    colorSplit = token.colorSplit,\n    lineWidth = token.lineWidth,\n    lineType = token.lineType,\n    menuItemPaddingInline = token.menuItemPaddingInline;\n  return _defineProperty({}, \"\".concat(componentCls, \"-horizontal\"), (_$concat = {\n    lineHeight: \"\".concat(menuHorizontalHeight, \"px\"),\n    border: 0,\n    borderBottom: \"\".concat(lineWidth, \"px \").concat(lineType, \" \").concat(colorSplit),\n    boxShadow: 'none',\n    '&::after': {\n      display: 'block',\n      clear: 'both',\n      height: 0,\n      content: '\"\\\\20\"'\n    }\n  }, _defineProperty(_$concat, \"\".concat(componentCls, \"-item, \").concat(componentCls, \"-submenu\"), {\n    position: 'relative',\n    display: 'inline-block',\n    verticalAlign: 'bottom',\n    paddingInline: menuItemPaddingInline\n  }), _defineProperty(_$concat, \"> \".concat(componentCls, \"-item:hover,\\n        > \").concat(componentCls, \"-item-active,\\n        > \").concat(componentCls, \"-submenu \").concat(componentCls, \"-submenu-title:hover\"), {\n    backgroundColor: 'transparent'\n  }), _defineProperty(_$concat, \"\".concat(componentCls, \"-item, \").concat(componentCls, \"-submenu-title\"), {\n    transition: [\"border-color \".concat(motionDurationSlow), \"background \".concat(motionDurationSlow)].join(',')\n  }), _defineProperty(_$concat, \"\".concat(componentCls, \"-submenu-arrow\"), {\n    display: 'none'\n  }), _$concat));\n};\nexport default getHorizontalStyle;","map":{"version":3,"names":["getHorizontalStyle","token","componentCls","motionDurationSlow","menuHorizontalHeight","colorSplit","lineWidth","lineType","menuItemPaddingInline","lineHeight","border","borderBottom","boxShadow","display","clear","height","content","position","verticalAlign","paddingInline","backgroundColor","transition","join"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/antd/es/menu/style/horizontal.js"],"sourcesContent":["const getHorizontalStyle = token => {\n  const {\n    componentCls,\n    motionDurationSlow,\n    menuHorizontalHeight,\n    colorSplit,\n    lineWidth,\n    lineType,\n    menuItemPaddingInline\n  } = token;\n  return {\n    [`${componentCls}-horizontal`]: {\n      lineHeight: `${menuHorizontalHeight}px`,\n      border: 0,\n      borderBottom: `${lineWidth}px ${lineType} ${colorSplit}`,\n      boxShadow: 'none',\n      '&::after': {\n        display: 'block',\n        clear: 'both',\n        height: 0,\n        content: '\"\\\\20\"'\n      },\n      // ======================= Item =======================\n      [`${componentCls}-item, ${componentCls}-submenu`]: {\n        position: 'relative',\n        display: 'inline-block',\n        verticalAlign: 'bottom',\n        paddingInline: menuItemPaddingInline\n      },\n      [`> ${componentCls}-item:hover,\n        > ${componentCls}-item-active,\n        > ${componentCls}-submenu ${componentCls}-submenu-title:hover`]: {\n        backgroundColor: 'transparent'\n      },\n      [`${componentCls}-item, ${componentCls}-submenu-title`]: {\n        transition: [`border-color ${motionDurationSlow}`, `background ${motionDurationSlow}`].join(',')\n      },\n      // ===================== Sub Menu =====================\n      [`${componentCls}-submenu-arrow`]: {\n        display: 'none'\n      }\n    }\n  };\n};\nexport default getHorizontalStyle;"],"mappings":";AAAA,IAAMA,kBAAkB,GAAG,SAArBA,kBAAkB,CAAGC,KAAK,EAAI;EAAA;EAClC,IACEC,YAAY,GAOVD,KAAK,CAPPC,YAAY;IACZC,kBAAkB,GAMhBF,KAAK,CANPE,kBAAkB;IAClBC,oBAAoB,GAKlBH,KAAK,CALPG,oBAAoB;IACpBC,UAAU,GAIRJ,KAAK,CAJPI,UAAU;IACVC,SAAS,GAGPL,KAAK,CAHPK,SAAS;IACTC,QAAQ,GAENN,KAAK,CAFPM,QAAQ;IACRC,qBAAqB,GACnBP,KAAK,CADPO,qBAAqB;EAEvB,qCACMN,YAAY;IACdO,UAAU,YAAKL,oBAAoB,OAAI;IACvCM,MAAM,EAAE,CAAC;IACTC,YAAY,YAAKL,SAAS,gBAAMC,QAAQ,cAAIF,UAAU,CAAE;IACxDO,SAAS,EAAE,MAAM;IACjB,UAAU,EAAE;MACVC,OAAO,EAAE,OAAO;MAChBC,KAAK,EAAE,MAAM;MACbC,MAAM,EAAE,CAAC;MACTC,OAAO,EAAE;IACX;EAAC,uCAEGd,YAAY,oBAAUA,YAAY,eAAa;IACjDe,QAAQ,EAAE,UAAU;IACpBJ,OAAO,EAAE,cAAc;IACvBK,aAAa,EAAE,QAAQ;IACvBC,aAAa,EAAEX;EACjB,CAAC,yCACKN,YAAY,qCACZA,YAAY,sCACZA,YAAY,sBAAYA,YAAY,2BAAyB;IACjEkB,eAAe,EAAE;EACnB,CAAC,uCACGlB,YAAY,oBAAUA,YAAY,qBAAmB;IACvDmB,UAAU,EAAE,wBAAiBlB,kBAAkB,wBAAkBA,kBAAkB,EAAG,CAACmB,IAAI,CAAC,GAAG;EACjG,CAAC,uCAEGpB,YAAY,qBAAmB;IACjCW,OAAO,EAAE;EACX,CAAC;AAGP,CAAC;AACD,eAAeb,kBAAkB"},"metadata":{},"sourceType":"module"}